home *** CD-ROM | disk | FTP | other *** search
/ HyperCard - Sales Tool & Demo / DemoCD(Hypercard).toast / Goes in Extensions Folder / Scripting Additions / Read⁄Write Commands / Read_Write Commands.rsrc / aete_0_Read_Write Commands next >
Unknown  |  1994-06-17  |  1.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 01 00 00 00 00 00 00 01 | 13 53 79 73 74 65 6d 20 |........|.System |
|00000010| 4f 62 6a 65 63 74 20 53 | 75 69 74 65 3d 0d 43 6f |Object S|uite=.Co|
|00000020| 70 79 72 69 67 68 74 20 | a8 20 31 39 39 33 2d 34 |pyright |. 1993-4|
|00000030| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2c | Apple C|omputer,|
|00000040| 20 49 6e 63 2e 20 41 6c | 6c 20 72 69 67 68 74 73 | Inc. Al|l rights|
|00000050| 20 72 65 73 65 72 76 65 | 64 2e 73 79 73 6f 00 01 | reserve|d.syso..|
|00000060| 00 01 00 06 0f 6f 70 65 | 6e 20 66 6f 72 20 61 63 |.....ope|n for ac|
|00000070| 63 65 73 73 00 00 72 64 | 77 72 6f 70 65 6e 73 68 |cess..rd|wropensh|
|00000080| 6f 72 2e 52 65 70 6c 79 | 20 63 6f 6e 74 61 69 6e |or.Reply| contain|
|00000090| 73 20 65 72 72 6f 72 20 | 6f 72 20 66 69 6c 65 20 |s error |or file |
|000000a0| 72 65 66 65 72 65 6e 63 | 65 20 6e 75 6d 62 65 72 |referenc|e number|
|000000b0| 2e 00 00 00 61 6c 69 73 | 0d 46 69 6c 65 20 74 6f |....alis|.File to|
|000000c0| 20 6f 70 65 6e 2e 00 00 | 00 01 10 77 72 69 74 65 | open...|...write|
|000000d0| 20 70 65 72 6d 69 73 73 | 69 6f 6e 00 70 65 72 6d | permiss|ion.perm|
|000000e0| 62 6f 6f 6c 70 49 66 20 | 74 72 75 65 2c 20 74 68 |boolpIf |true, th|
|000000f0| 65 20 66 69 6c 65 20 77 | 6c 6c 20 62 65 20 6f 70 |e file w|ll be op|
|00000100| 65 6e 65 64 20 77 69 74 | 68 20 72 65 61 64 2f 77 |ened wit|h read/w|
|00000110| 72 69 74 65 20 61 63 63 | 65 73 73 2e 20 49 66 20 |rite acc|ess. If |
|00000120| 66 61 6c 73 65 2c 20 74 | 68 65 20 66 69 6c 65 20 |false, t|he file |
|00000130| 77 69 6c 6c 20 62 65 20 | 6f 70 65 6e 65 64 20 77 |will be |opened w|
|00000140| 69 74 68 20 72 65 61 64 | 20 61 63 63 65 73 73 20 |ith read| access |
|00000150| 6f 6e 6c 79 2e 00 80 00 | 0c 63 6c 6f 73 65 20 61 |only....|.close a|
|00000160| 63 63 65 73 73 2b 43 6c | 6f 73 65 20 74 68 65 20 |ccess+Cl|ose the |
|00000170| 66 69 6c 65 20 77 68 69 | 63 68 20 77 61 73 20 6f |file whi|ch was o|
|00000180| 70 65 6e 65 64 20 66 6f | 72 20 61 63 63 65 73 73 |pened fo|r access|
|00000190| 2e 00 72 64 77 72 63 6c | 6f 73 6c 6f 6e 67 12 45 |..rdwrcl|oslong.E|
|000001a0| 72 72 6f 72 20 63 6f 64 | 65 20 69 66 20 61 6e 79 |rror cod|e if any|
|000001b0| 2e 00 80 00 2a 2a 2a 2a | 22 52 65 66 65 72 65 6e |....****|"Referen|
|000001c0| 63 65 20 6e 75 6d 62 65 | 72 20 6f 72 20 66 69 6c |ce numbe|r or fil|
|000001d0| 65 20 74 6f 20 63 6c 6f | 73 65 2e 00 00 00 00 00 |e to clo|se......|
|000001e0| 07 67 65 74 20 65 6f 66 | 23 47 65 74 20 65 6e 64 |.get eof|#Get end|
|000001f0| 20 6f 66 20 66 69 6c 65 | 20 66 6f 72 20 73 70 65 | of file| for spe|
|00000200| 63 69 66 69 65 64 20 66 | 69 6c 65 2e 72 64 77 72 |cified f|ile.rdwr|
|00000210| 67 65 6f 66 6c 6f 6e 67 | 1f 45 6e 64 20 6f 66 20 |geoflong|.End of |
|00000220| 66 69 6c 65 20 66 6f 72 | 20 73 70 65 63 69 66 69 |file for| specifi|
|00000230| 65 64 20 66 69 6c 65 2e | 10 00 2a 2a 2a 2a 37 52 |ed file.|..****7R|
|00000240| 65 66 65 72 65 6e 63 65 | 20 6e 75 6d 62 65 72 20 |eference| number |
|00000250| 6f 72 20 66 69 6c 65 20 | 74 6f 20 72 65 74 75 72 |or file |to retur|
|00000260| 6e 20 65 6f 66 20 69 6e | 66 6f 72 6d 61 74 69 6f |n eof in|formatio|
|00000270| 6e 20 66 6f 72 2e 00 00 | 00 00 07 73 65 74 20 65 |n for...|...set e|
|00000280| 6f 66 23 53 65 74 20 65 | 6e 64 20 6f 66 20 66 69 |of#Set e|nd of fi|
|00000290| 6c 65 20 66 6f 72 20 73 | 70 65 63 69 66 69 65 64 |le for s|pecified|
|000002a0| 20 66 69 6c 65 2e 72 64 | 77 72 73 65 6f 66 6c 6f | file.rd|wrseoflo|
|000002b0| 6e 67 15 45 72 72 6f 72 | 20 6e 75 6d 62 65 72 2c |ng.Error| number,|
|000002c0| 20 69 66 20 61 6e 79 2e | 80 00 2a 2a 2a 2a 28 52 | if any.|..****(R|
|000002d0| 65 66 65 72 65 6e 63 65 | 20 6e 75 6d 62 65 72 20 |eference| number |
|000002e0| 6f 72 20 66 69 6c 65 20 | 74 6f 20 73 65 74 20 65 |or file |to set e|
|000002f0| 6f 66 20 66 6f 72 2e 00 | 00 00 00 01 02 74 6f 00 |of for..|.....to.|
|00000300| 73 65 74 32 2a 2a 2a 2a | 1a 4e 65 77 20 76 61 6c |set2****|.New val|
|00000310| 75 65 20 66 6f 72 20 65 | 6e 64 20 6f 66 20 66 69 |ue for e|nd of fi|
|00000320| 6c 65 2e 00 00 00 04 72 | 65 61 64 0f 52 65 61 64 |le.....r|ead.Read|
|00000330| 20 66 72 6f 6d 20 66 69 | 6c 65 2e 00 72 64 77 72 | from fi|le..rdwr|
|00000340| 72 65 61 64 2a 2a 2a 2a | 16 64 61 74 61 20 72 65 |read****|.data re|
|00000350| 74 75 72 6e 65 64 20 6f | 72 20 65 72 72 6f 72 00 |turned o|r error.|
|00000360| 00 00 2a 2a 2a 2a 20 72 | 65 66 65 72 65 6e 63 65 |..**** r|eference|
|00000370| 20 6e 75 6d 62 65 72 20 | 6f 72 20 66 69 6c 65 20 | number |or file |
|00000380| 74 6f 20 72 65 61 64 00 | 00 00 00 08 10 75 73 69 |to read.|.....usi|
|00000390| 6e 67 20 64 65 6c 69 6d | 69 74 65 72 73 00 64 65 |ng delim|iters.de|
|000003a0| 6c 69 6c 69 73 74 2d 44 | 65 6c 69 6d 69 74 65 72 |lilist-D|elimiter|
|000003b0| 73 20 74 6f 20 75 73 65 | 2e 20 4d 61 79 20 75 73 |s to use|. May us|
|000003c0| 65 20 31 20 6f 72 20 32 | 20 64 65 6c 69 6d 69 74 |e 1 or 2| delimit|
|000003d0| 65 72 73 2e 00 00 0f 75 | 73 69 6e 67 20 64 65 6c |ers....u|sing del|
|000003e0| 69 6d 69 74 65 72 64 65 | 6c 69 2a 2a 2a 2a 2d 44 |imiterde|li****-D|
|000003f0| 65 6c 69 6d 69 74 65 72 | 73 20 74 6f 20 75 73 65 |elimiter|s to use|
|00000400| 2e 20 4d 61 79 20 75 73 | 65 20 31 20 6f 72 20 32 |. May us|e 1 or 2|
|00000410| 20 64 65 6c 69 6d 69 74 | 65 72 73 2e 00 00 02 61 | delimit|ers....a|
|00000420| 73 00 61 73 20 20 2a 2a | 2a 2a 1b 72 65 61 64 20 |s.as **|**.read |
|00000430| 74 68 69 73 20 64 61 74 | 61 20 69 6e 20 74 68 69 |this dat|a in thi|
|00000440| 73 20 66 6f 72 6d 80 00 | 03 66 6f 72 72 64 66 72 |s form..|.forrdfr|
|00000450| 6c 6f 6e 67 1d 72 65 61 | 64 20 66 6f 72 20 74 68 |long.rea|d for th|
|00000460| 69 73 20 6e 75 6d 62 65 | 72 20 6f 66 20 62 79 74 |is numbe|r of byt|
|00000470| 65 73 80 00 06 62 65 66 | 6f 72 65 00 72 62 66 72 |es...bef|ore.rbfr|
|00000480| 54 45 58 54 47 52 65 61 | 64 20 74 6f 20 74 68 69 |TEXTGRea|d to thi|
|00000490| 73 20 64 65 6c 69 6d 69 | 74 65 72 20 65 78 63 6c |s delimi|ter excl|
|000004a0| 75 64 69 6e 67 20 69 74 | 2e 20 41 20 64 65 6c 69 |uding it|. A deli|
|000004b0| 6d 69 74 65 72 20 69 73 | 20 61 20 73 69 6e 67 6c |miter is| a singl|
|000004c0| 65 20 63 68 61 72 61 63 | 74 65 72 2e 80 00 05 75 |e charac|ter....u|
|000004d0| 6e 74 69 6c 72 64 75 74 | 54 45 58 54 47 52 65 61 |ntilrdut|TEXTGRea|
|000004e0| 64 20 74 6f 20 74 68 69 | 73 20 64 65 6c 69 6d 69 |d to thi|s delimi|
|000004f0| 74 65 72 20 69 6e 63 6c | 75 64 69 6e 67 20 69 74 |ter incl|uding it|
|00000500| 2e 20 41 20 64 65 6c 69 | 6d 69 74 65 72 20 69 73 |. A deli|miter is|
|00000510| 20 61 20 73 69 6e 67 6c | 65 20 63 68 61 72 61 63 | a singl|e charac|
|00000520| 74 65 72 2e 80 00 02 74 | 6f 00 72 64 74 6f 6c 6f |ter....t|o.rdtolo|
|00000530| 6e 67 23 72 65 61 64 20 | 66 72 6f 6d 20 63 75 72 |ng#read |from cur|
|00000540| 72 65 6e 74 20 6d 61 72 | 6b 20 74 6f 20 74 68 69 |rent mar|k to thi|
|00000550| 73 20 62 79 74 65 80 00 | 04 66 72 6f 6d 00 72 64 |s byte..|.from.rd|
|00000560| 66 6d 6c 6f 6e 67 13 72 | 65 61 64 20 66 72 6f 6d |fmlong.r|ead from|
|00000570| 20 74 68 69 73 20 62 79 | 74 65 80 00 05 77 72 69 | this by|te...wri|
|00000580| 74 65 0d 77 72 69 74 65 | 20 74 6f 20 66 69 6c 65 |te.write| to file|
|00000590| 72 64 77 72 77 72 69 74 | 6c 6f 6e 67 16 52 65 74 |rdwrwrit|long.Ret|
|000005a0| 75 72 6e 73 20 65 72 72 | 6f 72 2c 20 69 66 20 61 |urns err|or, if a|
|000005b0| 6e 79 2e 00 80 00 2a 2a | 2a 2a 0e 44 61 74 61 20 |ny....**|**.Data |
|000005c0| 74 6f 20 77 72 69 74 65 | 2e 00 00 00 00 04 03 66 |to write|.......f|
|000005d0| 6f 72 6e 6d 77 72 6c 6f | 6e 67 18 6e 75 6d 62 65 |ornmwrlo|ng.numbe|
|000005e0| 72 20 6f 66 20 62 79 74 | 65 73 20 74 6f 20 77 72 |r of byt|es to wr|
|000005f0| 69 74 65 00 80 00 0b 73 | 74 61 72 74 69 6e 67 20 |ite....s|tarting |
|00000600| 61 74 77 72 61 74 6c 6f | 6e 67 33 73 74 61 72 74 |atwratlo|ng3start|
|00000610| 20 77 72 69 74 69 6e 67 | 20 61 74 20 74 68 69 73 | writing| at this|
|00000620| 20 6f 66 66 73 65 74 20 | 66 72 6f 6d 20 62 65 67 | offset |from beg|
|00000630| 69 6e 6e 69 6e 67 20 6f | 66 20 66 69 6c 65 80 00 |inning o|f file..|
|00000640| 02 74 6f 00 72 65 66 6e | 2a 2a 2a 2a 24 72 65 66 |.to.refn|****$ref|
|00000650| 65 72 65 6e 63 65 20 6e | 75 6d 62 65 72 20 6f 72 |erence n|umber or|
|00000660| 20 66 69 6c 65 20 74 6f | 20 77 72 69 74 65 20 74 | file to| write t|
|00000670| 6f 00 00 00 02 61 73 00 | 61 73 20 20 74 79 70 65 |o....as.|as type|
|00000680| 17 77 72 69 74 65 20 64 | 61 74 61 20 69 6e 20 74 |.write d|ata in t|
|00000690| 68 69 73 20 66 6f 72 6d | 80 00 00 00 00 00 00 01 |his form|........|
|000006a0| 72 64 77 72 00 04 05 73 | 68 6f 72 74 73 68 6f 72 |rdwr...s|hortshor|
|000006b0| 0f 73 68 6f 72 74 20 69 | 6e 74 65 67 65 72 73 2e |.short i|ntegers.|
|000006c0| 0b 65 6e 64 20 6f 66 20 | 66 69 6c 65 65 6f 66 20 |.end of |fileeof |
|000006d0| 0c 65 6e 64 20 6f 66 20 | 66 69 6c 65 2e 00 03 65 |.end of |file...e|
|000006e0| 6f 66 65 6f 66 20 0c 65 | 6e 64 20 6f 66 20 66 69 |ofeof .e|nd of fi|
|000006f0| 6c 65 2e 00 07 62 6f 6f | 6c 65 61 6e 62 6f 6f 6c |le...boo|leanbool|
|00000700| 08 42 6f 6f 6c 65 61 6e | 2e 00 |.Boolean|.. |
+--------+-------------------------+-------------------------+--------+--------+